<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        #box1{
            height: 5000px;
            background-color: rgb(240, 238, 219);
        }
        #box2{
            height: 500px;
            width: 80%;
            background-color: rgb(129, 207, 142);
        }
        #box3{
            height: 100px;
            width: 100px;
            touch-action: none;
            background-color: rgb(120, 137, 231);
        }
    </style>
</head>
<body>
    <div id="box1">
        <div id="box2">
            <div id="box3"></div>
            <input type="file" name="img" id="person">
        </div>
    </div>
    <script>
        var image = new Image(),     
canvas = document.createElement("canvas"),     
ctx = canvas.getContext('2d'); 
    </script>
</body>
</html>